const Application = require("./application");

function createApplication() {
  // 工厂模式， 将创建应用和应用本身进行了分离
  const app = new Application();
  return app;
}

module.exports = createApplication;
